package p046bf;

import java.util.List;
import p270jp.pxv.android.model.pixiv_sketch.GiftSummary;
import p270jp.pxv.android.model.pixiv_sketch.LiveLog;
import p270jp.pxv.android.model.pixiv_sketch.SketchLive;
import p270jp.pxv.android.model.pixiv_sketch.SketchLiveChat;
import p270jp.pxv.android.model.pixiv_sketch.SketchLiveGiftingItem;
import p270jp.pxv.android.model.pixiv_sketch.SketchLiveHistoryAndRecommendGiftingItem;
import p270jp.pxv.android.model.pixiv_sketch.SketchLivePointResponse;
import p270jp.pxv.android.response.pixiv_sketch.PixivSketchResponse;
import p323lp.Field;
import p323lp.FormUrlEncoded;
import p323lp.GET;
import p323lp.Header;
import p323lp.Headers;
import p323lp.POST;
import p323lp.Path;
import p323lp.Query;
import p323lp.Url;
import p593wc.Completable;
import p593wc.Single;

/* renamed from: bf.g */
/* loaded from: classes2.dex */
public interface PixivSketchApiClient {
    @GET("/api/giftings/items.json")
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    /* renamed from: a */
    Single<PixivSketchResponse<List<SketchLiveGiftingItem>>> m10223a();

    @GET("/api/lives/{live_uid}/giftings/items.json")
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    /* renamed from: b */
    Single<PixivSketchResponse<SketchLiveHistoryAndRecommendGiftingItem>> m10222b(@Header("Authorization") String str, @Path("live_uid") String str2, @Query("count") int i);

    @FormUrlEncoded
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    @POST("/api/giftings/{live_uid}.json")
    /* renamed from: c */
    Single<PixivSketchResponse<SketchLivePointResponse>> m10221c(@Header("Authorization") String str, @Path("live_uid") String str2, @Field("platform") String str3, @Field("gifting_item_id") String str4, @Field("code") String str5, @Field("amount") int i);

    @GET
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    /* renamed from: d */
    Completable m10220d(@Url String str);

    @GET("/api/lives/{live_uid}/giftings/summary.json")
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    /* renamed from: e */
    Single<PixivSketchResponse<List<GiftSummary>>> m10219e(@Header("Authorization") String str, @Path("live_uid") String str2);

    @FormUrlEncoded
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    @POST("/api/lives/{live_uid}/hearts.json")
    /* renamed from: f */
    Single<PixivSketchResponse<Object>> m10218f(@Header("Authorization") String str, @Path("live_uid") String str2, @Field("count") int i, @Field("is_first") boolean z);

    @GET("/api/lives/{live_uid}.json")
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    /* renamed from: g */
    Single<PixivSketchResponse<SketchLive>> m10217g(@Path("live_uid") String str);

    @GET("/api/point.json")
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    /* renamed from: h */
    Single<PixivSketchResponse<SketchLivePointResponse>> m10216h(@Header("Authorization") String str, @Query("platform") String str2);

    @FormUrlEncoded
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    @POST("/api/lives/{live_uid}/chats.json")
    /* renamed from: i */
    Single<PixivSketchResponse<SketchLiveChat>> m10215i(@Header("Authorization") String str, @Path("live_uid") String str2, @Field("message") String str3);

    @GET("/api/lives/{live_uid}/logs.json")
    @Headers({"Accept: application/vnd.sketch-v4+json"})
    /* renamed from: j */
    Single<PixivSketchResponse<List<LiveLog>>> m10214j(@Path("live_uid") String str);
}
